<?php	
	include_once('inc_points.php');
		
	$playerpunkte=0;
	$playerpunkte=$_POST['playerpunkte'];
	
	$name = " ";
	$name = $_POST['playername'];
	
	$catname = " ";
	$catname = $_POST['catname'];
   
   //Gesamtpunktzahl in DB eintragen
	$query = "INSERT into game(catname, player, sum) VALUES('$catname', '$name', '$playerpunkte')";
    $result = mysql_query($query, $conn);	
	
	echo $result;
?>